package com.ecloud.aiassistantbackground.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户详情表
 * </p>
 *
 * @author Squbirreland
 * @since 2021-04-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("assistant_user_info")
@ApiModel(value = "UserInfo对象", description = "用户详情表")
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户详情id")
    @TableId(value = "user_info_id", type = IdType.AUTO)
    private Integer userInfoId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "用户头像")
    private String userInfoHeader;

    @ApiModelProperty(value = "用户昵称")
    private String userInfoNick;

    @ApiModelProperty(value = "用户性别 0未知 1男 2女")
    private String userInfoSex;

    @ApiModelProperty(value = "用户地区")
    private String userInfoAddress;

    @ApiModelProperty(value = "备用字段1")
    private String userInfoReserve1;

    @ApiModelProperty(value = "备用字段2")
    private String userInfoReserve2;

}
